<?php if (file_exists(install)) {die("<h1><span style=color:#7FCCE5>url</span><span style=color:#E5997F>Short</span></h1><h1><span style=color:#CC3300>Error:</span> <span style=color:#333333>You still need to delete the install directory!</span></h1><h2><a href=http://code.google.com/p/ksqurl/wiki/Installation/><span style=color:#0099cc; text-decoration:none;>code.google.com/p/ksqurl/wiki/Installation</span></a></h2>");} ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>

	<head>
		<?php
			include 'config.php';
			$APP_NAME = APP_NAME;
			echo "<title>".$APP_NAME."</title>";
		?> 
		<title>ksqUrl</title>
		<link rel="icon" href="<?php include 'config.php'; echo INSTALL_PATH; ?>favicon.ico">
		<link rel=StyleSheet href="<?php include 'config.php'; echo INSTALL_PATH; ?>includes/style.css">
                <link rel=StyleSheet href="<?php include 'config.php'; echo INSTALL_PATH; ?>includes/jquery.fancybox-1.3.1.css">
		<script type="text/javascript" src="includes/ZeroClipboard.js"></script>
                <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
                <script type="text/javascript" src="includes/jquery.fancybox-1.3.1.js"></script>

<script language="JavaScript">
function validate(field) {
var valid = "abcdefghijklmnopqrstuvwxyz0123456789"
var ok = "yes";
var temp;
for (var i=0; i<field.value.length; i++) {
temp = "" + field.value.substring(i, i+1);
if (valid.indexOf(temp) == "-1") ok = "no";
}
if (ok == "no") {
alert("You used an invalid character in your custom name. Try again.");
window.location.reload()
field.focus();
field.select();
   }
}

$(document).ready(function() {
	$('.popup').fancybox(
		{
			'speedIn' : 600,
			'speedOut' : 600,
			'transitionIn': 'fade',
			'transitionOut' : 'fade',
			'type'	: 'iframe'
		}
	);
});

</script>

<script type="text/javascript">
function show(status){
	if(status == "open"){
		document.getElementById("custom").setAttribute("style", "display: ;");
		document.getElementById("open").setAttribute("id", "close");
		document.getElementById("close").setAttribute("style", "display:none ;");
	}else if(status == "close"){
		document.getElementById("custom").setAttribute("style", "display: none;");
		document.getElementById("close").setAttribute("id", "open");
	}
}

</script>
<meta name="description" content="ksqUrl: The open source URL shortener. By Techerrata.com. code.google.com/p/ksqurl>
<meta http-equiv="content-language" content="en">
<meta name="author" content="Kevan Kay">
<meta name="robots" content="follow,index">
	</head>
